<!doctype html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
	<meta charset="UTF-8">
	<title>缴费系统</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
	<meta http-equiv="Cache-Control" content="no-siteapp"/>
	<link rel="stylesheet" th:href="@{../static/css/font.css}">
	<link rel="stylesheet" th:href="@{../static/css/xadmin.css}">
	<script type="text/javascript" th:src="@{../static/plugins/jQuery/jquery-2.2.3.min.js}"></script>
	<!-- <link rel="stylesheet" href="./css/theme5.css"> -->
	<script type="text/javascript" th:src="@{../static/lib/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{../static/js/xadmin.js}"></script>
	<script>
		// 是否开启刷新记忆tab功能
		var is_remember = false;
		$(function(){
			initData();
		});
		var username;
		//加载初始化数据
		function initData(){
			$.ajax({
				type:'post',
				dataType:"json",
				url:"/loginname/name",
				success:function(result){
					username = result.name;
					$("#name").text(result.name)
				}
			});
		}
	</script>
	<title sec:authentication="name"></title>
</head>
<body class="index">
<!-- 顶部开始 -->
<div class="container">
	<div class="logo">
		<a href="#">缴费系统</a></div>
	<div class="left_open">
		<a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
	</div>
	<ul class="layui-nav right" lay-filter="">
		<li class="layui-nav-item">
			<a id="name" href="javascript:"></a>
			<dl class="layui-nav-child">
				<!-- 二级菜单 -->
				<dd>
					<a id="logout">切换账号/退出</a></dd>
			</dl>
		</li>
	</ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
	<div id="side-nav">
		<ul id="nav">
			<div sec:authorize="hasRole('ROLE_ADMIN')">
				<li>
					<a href="javascript:">
						<i class="iconfont left-nav-li" lay-tips="管理员管理">&#xe726;</i>
						<cite>管理员管理</cite>
						<i class="iconfont nav_right">&#xe697;</i></a>
					<ul class="sub-menu">
						<li>
							<a onclick="xadmin.add_tab('权限管理','admin-list.html')">
								<i class="iconfont">&#xe6a7;</i>
								<cite>权限管理</cite></a>
						</li>
					</ul>
				</li>
			</div>
			<li>
				<a href="javascript:;">
					<i class="iconfont left-nav-li" lay-tips="缴费管理">&#xe723;</i>
					<cite>缴费管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('缴费项目管理','payment_manage.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>缴费项目管理</cite></a>
					</li>
					<div sec:authorize="hasRole('ROLE_ADMIN')">
						<li>
							<a onclick="xadmin.add_tab('订缴费项目审核','payment_audit.html')">
								<i class="iconfont">&#xe6a7;</i>
								<cite>缴费项目审核</cite></a>
						</li>
					</div>
					<li>
						<a onclick="xadmin.add_tab('缴费情况查询','payment_query.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>缴费情况查询</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('缴费情况统计','payment_statistics.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>缴费情况统计</cite></a>
					</li>
					<!--   <li>
								 <a onclick="xadmin.add_tab('手机缴费','mobilePayIndex')">
										 <i class="iconfont">&#xe6a7;</i>
										 <cite>手机缴费</cite></a>
						 </li>-->
					<li>
						<a onclick="xadmin.add_tab('退款','refund')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>退款</cite></a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
	<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
		<ul class="layui-tab-title">
			<li class="home">
				<i class="layui-icon">&#xe68e;</i>我的桌面
			</li>
		</ul>
		<div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
			<dl>
				<dd data-type="this">关闭当前</dd>
				<dd data-type="other">关闭其它</dd>
				<dd data-type="all">关闭全部</dd>
			</dl>
		</div>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<iframe src='welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
			</div>
		</div>
		<div id="tab_show"></div>
	</div>
</div>
<div class="page-content-bg"></div>
<style id="theme_style"></style>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<script th:src="@{../static/my_js/displayUser.js}"></script>
<script th:src="@{../static/my_js/logout.js}"></script>
<script>
	//JavaScript代码区域
	layui.use('element',function(){
		var element = layui.element;
	});
</script>
</body>
</html>
